/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package main;

import java.util.Date;

/**
 *
 * @author boomar
 */
public class Eleve {

    private int idEleve;
    private String nom;
    private String prenom;
    private Date anneeInscription;
    private int idPromotion;

    public Eleve(int idEleve, String nom, String prenom, Date anneeInscription, int idPromotion) {
        this.idEleve = idEleve;
        this.nom = nom;
        this.prenom = prenom;
        this.anneeInscription = anneeInscription;
        this.idPromotion = idPromotion;
    }

    public Date getAnneeInscription() {
        return anneeInscription;
    }

    public int getIdEleve() {
        return idEleve;
    }

    public int getIdPromotion() {
        return idPromotion;
    }

    public String getNom() {
        return nom;
    }

    public String getPrenom() {
        return prenom;
    }

    public void setAnneeInscription(Date anneeInscription) {
        this.anneeInscription = anneeInscription;
    }

    public void setIdEleve(int idEleve) {
        this.idEleve = idEleve;
    }

    public void setIdPromotion(int idPromotion) {
        this.idPromotion = idPromotion;
    }

    public void setNom(String nom) {
        this.nom = nom;
    }

    public void setPrenom(String prenom) {
        this.prenom = prenom;
    }

    @Override
    public String toString() {
        return "Eleve{" + "idEleve=" + idEleve + "nom=" + nom + "prenom=" + prenom + "anneeInscription=" + anneeInscription + "idPromotion=" + idPromotion + '}';
    }
}
